-
Notifications
You must be signed in to change notification settings - Fork 724
Add RawPacketBase as common base class between raw packet implementations.
#1900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #1900 +/- ##
==========================================
- Coverage 82.89% 82.88% -0.01%
==========================================
Files 292 292
Lines 51834 51840 +6
Branches 11501 11316 -185
==========================================
+ Hits 42966 42967 +1
- Misses 7704 7710 +6
+ Partials 1164 1163 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
tigercosmos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@Dimi1010 I think we discussed it somewhere - I don't think this refactor is needed. Can we close this PR? |
|
@seladb I suppose we can close it for now. We did discuss it. I think we decided to defer the refactor, not discard it all together. IIRC, the main cause for this was that the entanglement of |
If I remember the discussion, we decided it isn't worth the effort |
This was how it ended: |
|
Anyway, I can close then PR for now. |
Part of #1899
This PR adds a class
RawPacketBasethat is to work as a common base class betweenRawPacketandMBufRawPacket.The current iteration only takes over the management for
timestampandlinkLayeras a minimal example, without defining common API yet.The class is defined in the
internalnamespace while in development, with the eventual goal to be "published" to the main namespace when complete.